package one.stand.mapper;

import one.stand.model.ShopcartModel;

import java.util.List;
/**
 * @author Administrator
 */
public interface ShopcartMapper {
    int deleteByPrimaryKey(Integer shopCartId);

    int deleteShopcartAll(Integer userId);

    int deleteShopcart(String[] ids);


    int insert(ShopcartModel record);

    int insertSelective(ShopcartModel record);

    ShopcartModel selectByPrimaryKey(Integer shopCartId);

    int updateByPrimaryKeySelective(ShopcartModel record);

    int updateByPrimaryKey(ShopcartModel record);

    int updShopcartNum(ShopcartModel record);

    List<ShopcartModel> selectUserList(Integer userId);

    List<ShopcartModel> selectOrderInfo(String[] ids);

    List<ShopcartModel> selectOrderInfoGroup(String[] ids);

    List<ShopcartModel> selectShopcart(ShopcartModel record);

    ShopcartModel selectShopcartSpec(ShopcartModel record);
}